#-*- coding:utf-8 -*-
import csv
from numpy import *

data = []
with open('a.csv','rb') as f:
    reader = csv.reader(f)
    for row in reader:
        data.append(row)
ar = array(data);
startid = 0 # starttime row
endid = 3 # endtime row
priceid = 1 # price col
volid = 2 # vol col
price = [float(x[priceid]) for x in ar[startid : endid]]
volume = [int(x[volid]) for x in ar[startid : endid]]
print price[0]
print max(price)
print min(price)
print sum(volume)